<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>window</title>
</head>
<body>
<div onclick="stop()">停止</div>
<h1>我是03页面</h1>
<div onclick="goBack()">回退到04页面</div>
<script type="text/javascript">

    function goBack(){
        // 退回到上一个页面
        history.back() ;
    }


    console.log( navigator.userAgent ) ;
    // chrome :
    // Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
    // Chrome/84.0.4147.89 Safari/537.36

    // firefox :
    // Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

    // IE :
    // Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E;
    // .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; rv:11.0) like Gecko

    // edge :
    // Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
    // Chrome/85.0.4183.83 Safari/537.36 Edg/85.0.564.44
</script>

</body>
</html>